package com.iafme.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author summer
 * @since 2025/01/05 21:14:41
 */
@Getter
@Setter
@TableName("iafme_member")
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("igaasId")
    private String igAasId;

    @TableField("email")
    private String email;

    @TableField("name")
    private String name;

    @TableField("phone")
    private String phone;

    @TableField("surname")
    private String surname;

    @TableField("egName")
    private String egName;

    @TableField("idCard")
    private String idCard;

    @TableField("birthday")
    private Date birthday;

    @TableField("province")
    private String province;

    @TableField("city")
    private String city;

    @TableField("postal")
    private String postal;

    @TableField("address")
    private String address;

    @TableField("enAddress")
    private String enAddress;

    @TableField(value = "createTime", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField("username")
    private String username;


    @TableField("password")
    private String password;

}
